Definition:
- Where every test sets up a lot of shared data which only some tests need.
Code Example:
beforeEach(() => {
databaseConnection = openDatabase();
inputFile = loadBigFile();
userList = loadUserList();
imageData = loadImageBytes();
});
References:
Quality attributes
- :octicon:`file-code;1em` - Code Example
- :octicon:`comment-discussion;1em` - Cause and Effect
- :octicon:`graph;1em` - Frequency
- :octicon:`sync;1em` - Refactoring